package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 发票与费用项目对应设置发票其他因数列表
 * </p>
 * @author WuZH
 * @since 2024-08-18
 */
@Data
@TableName ("erp_king_invoice_fee_setting_invoice_detail_info")
@ApiModel (value = "KingInvoiceFeeSettingInvoiceDetailEntity对象", description = "发票与费用项目对应设置发票其他因数列表")
public class KingInvoiceFeeSettingInvoiceDetailEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("发票与费用项目对应设置id")
    @TableField ("invoice_fee_setting_id")
    private String invoiceFeeSettingId;

    @ApiModelProperty ("发票因素；项目名称：ITEMNAME；销售方名称：SALENAME；发票类别：INVOICETYPE；购货方名称：PURNAME；备注：REMARK；税收分类编码：TAXCODE")
    @TableField ("invoice_factors")
    private String invoiceFactors;

    @ApiModelProperty ("字段类型;下拉列表：enum；文本：text；仅当发票因素字段为发票类别时，该字段为下拉列表，其他为文本")
    @TableField ("field_type")
    private String fieldType;

    @ApiModelProperty ("映射因素；仅当发票因素字段为发票类别时，该字段为发票类型接口，其他均为文本输入")
    @TableField ("mapping_factors_id")
    private String mappingFactorsId;

    @ApiModelProperty ("匹配方式；完全匹配：1；模糊匹配（仅限文本）：2")
    @TableField ("matching_method")
    private Integer matchingMethod;

    @ApiModelProperty ("创建人")
    @TableField ("create_by")
    private String createBy;

    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    private Date createTime;

    @ApiModelProperty ("修改人")
    @TableField ("update_by")
    private String updateBy;

    @ApiModelProperty ("修改时间")
    @TableField ("update_time")
    private Date updateTime;

    @ApiModelProperty ("软删除")
    @TableField ("is_used")
    private Integer isUsed;


}
